<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import = "com.logistics.entity.DispatchesEle_wqm" %>
<%@ page import = "com.logistics.database.Simpledatabase" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'PurchaseSJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<%@ page import = "com.logistics.entity.InOutStoreRoom" %>
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->


  </head>
  
  <body>
  <center>
  
  	<c:out value="${'出库表' }"></c:out><br>
  	<br>
		  <table border="1" bordercolor="blue" width="100%">
		  
		  	<tr><td><c:out value="${'商品编号'}"></c:out></td>
		  	<td><c:out value="${'商品名称'}"></c:out></td>
		  	<td><c:out value="${'商品售价'}"></c:out></td>
		  	<td><c:out value="${'商品数量'}"></c:out></td>
		  	<td><c:out value="${'计量单位'}"></c:out></td>
		  	<td><c:out value="${'厂商'}"></c:out></td>
		  	<td><c:out value="${'备注 '}"></c:out></td>
		  	<td><c:out value="${'日期'}"></c:out></td>
		  	<c:forEach items="${dispa}" var="mt">
		  		<tr><td>${mt.product_id }</td>
			  	<td>${mt.product_name==null?"&nbsp":mt.product_name }</td>
			  	<td>${mt.price==null?"&nbsp":mt.price }</td>
			  	<td>${mt.dispatch_number==null?"&nbsp":mt.dispatch_number }</td>
			  	<td>${mt.unit==null?"&nbsp":mt.unit }</td>
			  	<td>${mt.supplier_name==null?"&nbsp":mt.supplier_name }</td>
			  	<td>${mt.tips==null?"&nbsp":mt.tips }</td>
			  	<td>${mt.deadline==null?"&nbsp":mt.deadline }</td>
			  	</tr>
		  	</c:forEach>
		  	</tr>
		  </table>
		  <br>
		  <input type="button" value="确定" onclick="javascript:location.href='../Logistics/inoutstore/PurchaseStorage3.jsp'" >
		  </center>
  </body>
</html>
